*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header {
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(9, 4, 84, 0.7), rgba(9, 11, 9, 0.5)), url("images/joinus.jpeg");
    background-position: center;
    background-size: cover;
    position: relative;
}

form.nosubmit {
    border: none;
    padding: 0;
  }
  input.nosubmit {
    color: #fff3f3;
    float: right;
    width: 280px;
    border-radius: 10px;
    border: 1px solid rgb(188, 184, 184);
    display: block;
    padding: 9px 4px 9px 40px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 13px center;
  }

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
    height: 80%;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px ;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width:0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
h4 {
  color: #FEFCFC;
  font-size: 70px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  margin-top: -30px;
}
h5 {
  color: #FEFCFC;
  font-size: 20px;
  font-weight: 200;
  text-align: center;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.find-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.find-btn:hover{
    border: 1px solid #290c0a;
    background: #b2462e;
    transition: 1s;
}
nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h{
        font-size: 50px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh ;
        width: 200px ;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;

    }
    .nav-links ul{
        padding: 30px;
    }
}

/* same*/

.same{
    width:50%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.same-col{
    flex-basis: 10%;
    background: #F0EFEF;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 5px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor: pointer;
}
}
.same-col:hover{
    box-shadow: 0   0   20px 0px rgba(0,0,0,0.2) ;

}

/* Apply*/

.Apply{
    width:50%;
    margin-left: 70px;
    text-align: center;
    padding-top: 100px;
}

.Apply-col{
    flex-basis: 10%;
    background: #E91717;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 5px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor: pointer;
}
}
.Apply-col:hover{
    box-shadow: 0   0   20px 0px rgba(0,0,0,0.2) ;

}
h7 {
    text-align: left;
    color: white;
    font-size: 36px;
    font-weight: 500;
}
/* course */

.course{
    width:50%;
    margin-left: 100px;
    text-align: right;
    padding-top: 100px;
    margin-bottom: 100px;
}
form.course-search {
    border: none;
    padding: 0;
 
  }
  input.course-search {
    margin-right: auto;
    margin-left: auto;
    float:inline-start;
    width: 400px;
    border-radius: 10px;
    border: 1px solid rgb(62, 59, 59);
    display: block;
    padding: 9px 4px 9px 40px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 13px center;
  }
 
h1 {
    font-size: 36px;
    font-weight: 250;
    text-align: center;
    margin-bottom: 50px;
    margin-top: -50px;
}
h8 {
    font-size: 36px;
    font-weight: 250;
    text-align: center;
    margin-bottom: 50px;
    margin-top: -50px;
}

p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 5px;
}


.course-col{
    flex-basis: 10%;
    background: #FAFAFA;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 5px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor: pointer;
}
.course-col img{
    width: 100%;
    border-radius: 10px;
    display: block;
}
h3{
    text-align: left;
    font-weight: 400;
    margin: 10px;
}
.course-col:hover{
    box-shadow: 0   0   20px 0px rgba(0,0,0,0.2) ;

}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*question*/

.row{
    width: 80%;
    margin:auto;
    padding-top: 10px;
    text-align: center;
}

.row{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.backg {
  min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(228, 221, 221, 0.01)), rgba(9, 11, 9, 0.5)), url("images/backg.jpeg");
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: 0   0   20px 0px rgba(0,0,0,0.2) 
}
